*{
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Avenir Next";
    background-color: rgb(59, 83, 109);
}

.header{
    background-image:url("BG/TOP_q75_1_2_q75.jpg");
    background-size:cover;
    height:1200px;
    background-position: center;
    
    padding:0 0 550px 0px;
    opacity: 0;
	animation: fadein-anim 3s linear forwards;
    animation-delay: 0.8s;
}
@keyframes fadein-anim {
	100% {
		opacity: 0.7;
	}
}
@keyframes fadein-anim-h1 {
	100% {
		opacity: 1;
	}
}

.header-logo{
    padding: 5px 0 0 10px;
    position:fixed;
    top:0;
    z-index: 30;
}

.header-logo-img{
    position: absolute;
    height:50px;
}

.header-headline{
    border-bottom: 2px solid #dee7ec;
    position:absolute;
    top:80px;
    left:150px;
    background-color:rgb(104, 216, 192, 0);
    color:white;
    z-index: 10;
}

.header-headline h1{
    display:block;
    opacity: 0;
	animation: fadein-anim-h1 0.6s linear forwards;
    font-size: 32px;
    text-shadow: 2px 2px 0 rgb(43, 43, 43);
}



/*-------メイン-------*/
/*.main{
    background-color : #bdf7f1;
}*/

.contents-item{
    float: left;
    position:relative;
    height: 400px;
}

.clear{
    clear:left;
}

.c-hello{width: 40%;}
.c-company{width: 60%;}
.c-business{width: 60%;}
.c-recruit{width: 40%;}

.contents-item a{
    display:inline-block;
    position:absolute;
    top:0px;
    left:0px;
    height: 100%;
    width:100%;
    transition: 0.8s ;
    padding-top:180px;
    text-align:center;
    font-size: 36px;
    color: white;
    text-decoration: none;
    text-shadow: 0px 0px 4px #464646;
}

.main-contents-img{
    object-position: 0% 10%;
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: 0.8s ;
}

.hello{background-color:rgba(212, 221, 126, 0.8);}
.hello:hover{background-color:rgba(255, 255, 255, 0.1);}

.company{background-color:rgba(78, 121, 156, 0.8);}
.company:hover{background-color:rgba(255, 255, 255, 0.1);}

.business{background-color:rgba(202, 135, 216, 0.8);}
.business:hover{background-color:rgba(255, 255, 255, 0.1);}

.recruit{background-color:rgba(116, 190, 116, 0.8);}
.recruit:hover{background-color:rgba(255, 255, 255, 0.1);}

.hello-t-img{
    object-position: 0% 100%;
}



/*-----問い合わせフォーム-----*/
.form-title{
    padding: 0px 0px 2px 36px;
}
.input-area {
    appearance: none;
    margin-bottom: 0px;
    padding: 0px 0px 12px 36px;
}
input[type="text"],input[type="email"],select {
    width: 360px;
    height: 30px;
}
textarea {
    width: 360px;
    height: 160px;
}
p {
    font-weight: bold;
    font-size: 20px;
}
.btn-border {
    background-color: #f5f5f5;
    display: inline-block;
    max-width: 180px;
    text-align: left;
    border: 2px solid #9ec34b;
    font-size: 15px;
    color: #7d9c33;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 4px;
    transition: .4s;
}
.btn-border:hover {
    background-color: #9ec34b;
    border-color: #cbe585;
    color: #FFF;
}
.ff-big{
    font-size: 36px;
}
.contact-form{
    margin-left: 150px;
    margin-top: 80px;
    /*background-image:url("BG/hello70-35_q50.jpg");
    background-size:cover;
    background-position:center; */
    color: white;
    text-shadow: 2px 2px 0px #3a3a3a;
}
.ft-01{
    padding:0px 0px 10px 0px;
}
.ft-02{font-size: 64px;}
.form-box01{
    background-color:rgba(53, 53, 53, 0.432);
    display:inline-block;
    padding: 0px 30px 0px 0px;
    margin-bottom: 20px;
    margin-top: 20px;
    margin-right: 100px;
}
.fb-01{
    text-align:center;
    padding: 20px 0px 0px 0px;
}

/*-----フッター-----*/
.footer {
    background-color: #2f5167;
    color: #fff;
    height: 120px;
    padding: 40px;
    text-align: center;
}

.fa{
    margin-right:5px;
}

/* タブレット向けレイアウト */
@media(max-width:1025px){
    .c-hello{width: 50%;height: 200px;}
    .c-company{width: 50%;height: 200px;}
    .c-business{width: 50%;height: 200px;}
    .c-recruit{width: 50%;height: 200px;}
    .contents-item a{height: 220px;padding-top:90px;font-size: 24px;}
    .main-contents-img{height: 220px;}
    .header{
        height:100%;
        background-position: center;
        padding:0 0 450px 0px;
    }
    .header-logo-img{
        height:30px;
    }
    .header-headline{
        /*padding:80px 0 0px 30px;*/
        position:absolute;
        top:30px;
        left:90px;
        margin-right: 30px;
    }
    .header-headline h1{
        font-size: 18px;
        text-shadow: 1.3px 1.3px 0 rgb(43, 43, 43);
    }


    .ft-01{
        padding:0px 0px 10px 0px;
    }
    .ft-02{font-size: 55px;}
    .ff-big{
        font-size: 33px;
    }
    .ft-03{
        font-size: 18px;
    }

    .contact-form{
        margin-left: 90px;
    }
    .form-box01{
        background-color:rgba(53, 53, 53, 0.432);
    }
}

/* スマートフォン向けレイアウト */
@media(max-width:480px){
    .c-hello{width: 50%;}
    .c-company{width: 50%;}
    .c-business{width: 50%;}
    .c-recruit{width: 50%;}
    .contents-item a{height: 200px;padding-top:85px;font-size: 18px;}
    .main-contents-img{height: 200px;}
    .header{padding:0 0 450px 0px;}
    .header-headline{
        /*padding:80px 0 0px 10px;*/
        position:absolute;
        top:30px;
        left:60px;
    }
    .header-logo-img{
        height:20px;
    }
    .header-headline{
        margin-right: 30px;
    }
    .header-headline h1{
        font-size: 15px;
        text-shadow: 1px 1px 0 rgb(43, 43, 43);
    }

    .container{
        height: 160px;
        margin:0;
        padding:0;
    }
    .contact-form{
        padding:250px 0px 0px 0px;
        margin-left: 60px;

    }

    input[type="text"],input[type="email"],select {
        width: 150%;
        height: 30px;
    }
    textarea {
        height: 160px;
        width: 150%;
    }
    .ff-big{
        font-size: 24px;
    }
    .ft-01{
        padding:0px 0px 10px 0px;
        font-size: 14px;
    }

    .ft-02{font-size: 35px;}

    .ft-03{font-size: 15px;}

    .form-box01{
        background-color:rgba(53, 53, 53, 0.432);
        margin-bottom: 20px;
        margin-right: 60px;
        padding: 0px 120px 0px 0px;
    }
    .form-box01 p{font-size: 12px;}

    .fb-01{
        font-size: 18px;
    }

    .hello{background-color:rgba(212, 221, 126, 0.3);}
    .hello:hover{background-color:rgba(255, 255, 255, 0.1);}

    .company{background-color:rgba(78, 156, 139, 0.3);}
    .company:hover{background-color:rgba(255, 255, 255, 0.1);}

    .business{background-color:rgba(202, 135, 216, 0.3);}
    .business:hover{background-color:rgba(255, 255, 255, 0.1);}

    .recruit{background-color:rgba(116, 190, 116, 0.3);}
    .recruit:hover{background-color:rgba(255, 255, 255, 0.1);}
}